package cn.dengta.webapp.trade.vo;

import java.math.BigDecimal;

import cn.dengta.common.util.Formats;
import cn.dengta.webapp.base.vo.AbstractVO;
import cn.dengta.webapp.trade.entity.UserIntegral;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class IntegralConvertVO extends AbstractVO<UserIntegral> {

	public BigDecimal amount;
	public String account;
	public String currency;
	public BigDecimal integralToCurrency;
	public String calcFormula;

	public String getAmount() {
		return Formats.formatNumber_D(amount);
	}

	public String getIntegralToCurrency() {
		return Formats.formatNumber_D(integralToCurrency);
	}

}
